package com.xuecheng.teaching.service;

import com.xuecheng.commons.model.dto.PageRequest;
import com.xuecheng.commons.model.dto.WorkDto;
import com.xuecheng.commons.model.dto.WorkQueryDto;
import com.xuecheng.commons.model.vo.ResponseResult;
import com.xuecheng.teaching.domain.Work;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 作业 服务类
 * </p>
 *
 * @author itheima
 * @since 2022-07-31
 */
public interface WorkService extends IService<Work> {



        ResponseResult deleteById(Long workId);

        ResponseResult findById(Long workId);

        ResponseResult updateOrSave(WorkDto dto);

        //ResponseResult findByPage(PageRequest pageRequest);
        ResponseResult findByPage(PageRequest pageRequest);
}
